package happy.town.threeBook;

import lombok.Data;

/**
 * @BelongsProject: threeBook
 * @BelongsPackage: a.happy.town.threeBook
 * @Author: ByHappy  (Email:1300985301@qq.com)
 * @CreateTime: 2023-07-30 15:26
 * @Description: 用户信息实体对象
 * @Version: 1.0
 **/
@Data
public class UserDTO {
    private Integer uid;
    private String username;     // 用户名
    private String password;     // 密码
    private String personID;     // 身份证号码
    private String phoneNumber;  // 手机号码放到用户对象中

    public UserDTO() {
    }

    public UserDTO(Integer uid, String username, String password, String personID, String phoneNumber) {
        this.uid = uid;
        this.username = username;
        this.password = password;
        this.personID = personID;
        this.phoneNumber = phoneNumber;
    }
}
